ComponentOne Basic Library for UWP
CreateSelector<X>(Type,String) Method

C1.UWP Assembly > C1.Xaml Namespace > C1PropertyPathHelper Class > CreateSelector Method : CreateSelector<X>(Type,String) Method
The type of the objects that will be passed to the resulting function.
The path that will be evaluated.
Creates a function that when called execute the path expression over the specified object.
Syntax
'Declaration
 
Public Overloads Shared Function CreateSelector(Of X)( _
   ByVal type As System.Type, _
   ByVal path As System.String _
) As System.Func(Of Object,X)
public static System.Func<object,X> CreateSelector<X>( 
   System.Type type,
   System.string path
)

Parameters

type
The type of the objects that will be passed to the resulting function.
path
The path that will be evaluated.

Type Parameters

X
Remarks
The object type passed in the resulting function must be the same as the specified in this method, otherwise an exception will be thrown.
See Also

Reference

C1PropertyPathHelper Class
C1PropertyPathHelper Members
Overload List